<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/load.js"></script>
</head>

<body>
    <div id="container">
        <div id="formcontainer" style="display:flex;align-items: center;justify-content: center">
            <img id="showImg" src="" width="200" height="200" alt="图片 预览..." style="display:none"> <br />
        </div>
        <div id="opcontainer">
            <button class="layui-btn layui-btn-primary" onclick="HandleClose()">关闭</button>
        </div>
    </div>
</body>
<script>
    var FormDetail = null;

    $(function() {
        LoadDetail();
    })

    function LoadDetail() {
        var param = {
            userID: GetUrlParam("userID")
        }
        SetForm("editform", "face/regist/detail", param, function(data) {
            FormDetail = data;
            $("#showImg").attr("src", FormDetail.base64Image);
            $("#showImg").show();
        })
    }

    function HandleClose() {
        CloseDialog();
    }
</script>

</html>